<!doctype html>
<html lang="zh-cn" id="htmlRoot">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="referrer" content="no-referrer" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <title><%= title %></title>
    <link rel="icon" href="/favicon.ico" />
  </head>
  <body>
    <script>
      ;(() => {
        var htmlRoot = document.getElementById('htmlRoot')
        var theme = window.localStorage.getItem('__APP__DARK__MODE__')
        if (htmlRoot && theme) {
          htmlRoot.setAttribute('data-theme', theme)
          theme = htmlRoot = null
        }
      })()
    </script>
    <div id="app">
      <style>
        @keyframes opacity {
          0% {
            opacity: 1;
          }

          50% {
            opacity: 0.5;
          }

          100% {
            opacity: 1;
          }
        }

        ._ {
          position: fixed;
          z-index: 999;
          background: #e5e7eb;
          animation: opacity 1.5s linear infinite;
        }

        .__ {
          top: 0%;
          left: 0%;
          width: 100%;
        }

        html,
        body,
        #app {
          font-family: 'SF Pro SC', 'HanHei SC', 'SF Pro Text', 'Myriad Set Pro', 'SF Pro Icons', 'PingFang SC', 'Segoe UI', SegoeUI, 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        }
      </style>
      <div class="_ __" style="height: 100%; z-index: 990; background: #fff"></div>
      <div class="_ __" style="height: 100%"></div><div class="_" style="height: 100%; top: 0%; left: 0%; width: 100%"></div>
      <div class="_" style="height: 60px; top: 0; left: 0; width: 100%"></div>
      <div class="_" style="height: 100%; top: 74px; left: 0; width: 256px"></div>
      <div class="_" style="height: 100%; top: 74px; right: 0; width: calc(100% - 272px)"></div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
